package com.medical.manage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_topic")
public class Topic {
    //话题id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //话题名称
    private String topicName;

    //话题id集合
    @TableField(exist = false)
    private List<Integer> topicIds;
}
